import { ConnectButton } from '@web3uikit/web3'
import Link from 'next/link'
import React from 'react'

export default function Header() {
  return (
    <nav className="p-5 border-b-2 flex flex-row justify-between items-center">
      <h1 className="py-4 px-5 font-bold text-3xl">NFT小卖部</h1>
      <div className="flex flex-row items-center">
        <Link href="/">
          <div className="mr-4 p-6">Home</div>
        </Link>

        <Link href="/sell-nft">
          <div className="mr-4 p-6">SellNFT</div>
        </Link>
        <ConnectButton moralisAuth={false} />
      </div>
    </nav>
  )
}
